package com.ymtms.customerservice.service;

import com.ymtms.customerservice.pojo.ComplaintInformation;
import com.ymtms.customerservice.util.TimeRangeUtil;
import com.ymtms.customerservice.vo.GridRequest;
import com.ymtms.customerservice.vo.GridResult;

import java.util.List;

public interface ComplaintInformationService {
    List<ComplaintInformation> GetAllComplaintInformation(String customer,String goodsBillCode,String appealDate,String ifHandle);

    String insertComplaint(String customer, String goodsBillCode, String appealContent, String appealDate);

    List<String> findAllGoodsBillCodeByCustomerNO(String customerNO);

    String refundComplainInformationByCiid(Integer ciid,String dealPerson,String dealDate);

    String ignoreComplainInformationByCiid(Integer ciid, String dealPerson, String dealDate);

    GridResult<ComplaintInformation> queryByPage(GridRequest gridRequest, ComplaintInformation complaintInformation,
                                                 String sappealDate,TimeRangeUtil timeRangeUtil);

    String delete(Integer ciid, String dealPerson, String dealDate);

}
